
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    //-- 构建BasePath
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    pageContext.setAttribute("basePath", basePath);
%>
<script src="${basePath}static/js/jquery.3.6.0.min.js"></script>
<script src="${basePath}static/js/bootstrap.js"></script>
<html>
<head>
    <title>首页</title>
    <link rel="stylesheet" href="${basePath}static/css/bootstrap.css">
</head>
<body>
<form action="http://localhost:8080/EduTeacher/CheShi" method="post" enctype="multipart/form-data">
    音乐名称 :<input type="text" name="musicname" />  <p />

    演唱者 :<input type="text" name="singer" />  <p />

    时长 :<input type="text" name="longtime" />  <p />

    类型  :
    <p />

    封面 :<input type="file" name="naverImg" > <p />

    描述 ：<textarea name="description" rows="5" cols="25"></textarea> <p />

    <input type="submit" value="添 加" />
</form>
<script>

</script>

</body>
</html>

